/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Visual.Calendar;

import GUI.StartFrame;
import java.awt.Dimension;
import java.awt.Toolkit;
import ServiceLayer.NewFacade;

/**
 *
 * @author degrave
 */
public class VisualCalendar {

    /**
     * @param args the command line arguments
     */
    private static StartFrame startFrame;  
    public static void main(String[] args) {
        start();     
    }   
    public static void start() { 
        //server = new TopHttpServer(session);
        //server.startServer();       
        //setLookAndFeel();       
        startFrame = new StartFrame();
        Dimension location = NewFacade.setPosition(Toolkit.getDefaultToolkit().getScreenSize(), startFrame.getSize());
        startFrame.setLocation(location.width,location.height);
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                startFrame.setVisible(true);
            }
        });
    }
}
